<?xml version = "1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!-- Fig. I.12: list.html               -->
<!-- Advanced Lists: nested and ordered -->

<html xmlns = "http://www.w3.org/1999/xhtml">
   <head>
      <title>Python How to Program - Lists</title>
   </head>

   <body>

      <h1>The Best Features of the Internet</h1>

      <!-- create an unordered list -->
      <ul>
         <li>You can meet new people from countries around 
            the world.</li>
         <li>
            You have access to new media as it becomes public:

            <!-- this starts a nested list, which uses a -->
            <!-- modified bullet. The list ends when you -->
            <!-- close the <ul> tag.                     -->
            <ul>
               <li>New games</li>
               <li>
                  New applications

                  <!-- ordered nested list -->
                  <ol type = "I">
                     <li>For business</li>
                     <li>For pleasure</li>
                  </ol>
               </li> 

               <li>Around the clock news</li>
               <li>Search engines</li>
               <li>Shopping</li>
               <li>
                  Programming

                  <!-- another nested ordered list -->
                  <ol type = "a">
                     <li>XML</li>
                     <li>Java</li>
                     <li>XHTML</li>
                     <li>Python</li>
                     <li>New languages</li>
                  </ol>

               </li>

            </ul> <!-- ends the nested list of line 27 -->
         </li> 

         <li>Links</li>
         <li>Keeping in touch with old friends</li>
         <li>It is the technology of the future!</li>

      </ul>   <!-- ends the unordered list of line 18 -->

      <h1>My 3 Favorite <em>CEOs</em></h1>

      <!-- ol elements without a type attribute           -->
      <!-- have a numeric sequence type (i.e., 1, 2, ...) -->
      <ol>
         <li>Ant Chovy</li>
         <li>Ann Lee Tic</li>
         <li>Albert Anstein</li>
      </ol>

   </body>
</html>

<!-- 
 ************************************************************************** 
 * (C) Copyright 2002 by Deitel & Associates, Inc. and Prentice Hall.     *
 * All Rights Reserved.                                                   *
 *                                                                        *
 * DISCLAIMER: The authors and publisher of this book have used their     *
 * best efforts in preparing the book. These efforts include the          *
 * development, research, and testing of the theories and programs        *
 * to determine their effectiveness. The authors and publisher make       *
 * no warranty of any kind, expressed or implied, with regard to these    *
 * programs or to the documentation contained in these books. The authors *
 * and publisher shall not be liable in any event for incidental or       *
 * consequential damages in connection with, or arising out of, the       *
 * furnishing, performance, or use of these programs.                     *
 **************************************************************************
-->